package org.example.common.base.constants;

/**
 * @version 1.0.0
 * @className: CacheConstants
 * @description: 缓存的key
 * @author: LiJunYi
 * @create: 2022/8/2 13:03
 */
public class CacheConstants
{
    /**
     * 缓存有效期，默认480（分钟）
     */
    public final static long EXPIRATION = 480;

    /**
     * 缓存刷新时间，默认120（分钟）
     */
    public final static long REFRESH_TIME = 120;

    /**
     * 权限缓存前缀
     */
    public final static String LOGIN_TOKEN_KEY = "login_tokens:";
}
